﻿@model CNRegex.Entity.RegexTutorialCatalogContent
@{
	ViewBag.Title = ViewBag.RegexTutorialCatalog.Name;
    Layout = "~/Views/Shared/_LayoutBack.cshtml";
}
<style type="text/css">
	.content
	{
		width:100%;
		height:400px;
	}
</style>
<div class="stateBar">
	<img src="/images/dot.gif" alt="position" />
	您现在的位置 → <span class="bfont">@ViewBag.RegexTutorialCatalog.Name</span> → 内容创建
</div>
<form action="/AdminRegexTutorialCatalog/CatalogContent/" method="post">
	<div id="dialogContent" style="">
		<textarea id="Content" name="Content" class="content">@(Model == null ? "" : Model.Content)</textarea>
	</div>
	<input type="hidden" name="ID" value="@(Model == null ? "" : Model.ID.ToString())" />
	<input type="hidden" name="TutorialCatalogID" value="@ViewBag.RegexTutorialCatalog.ID" />
	<input type="submit" value="确定" />
</form>

<script src="@Url.Content("~/Scripts/kindeditor/kindeditor-min.js")" type="text/javascript"></script>
<script type="text/javascript">
	$(document).ready(
		function () {
			registerKindeditor("Content");
		}
	);
	
</script>

